﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CNNetworking
{
    /// <summary>
    /// This class holds the connection settings for one client. This includes the
    /// client's name (i.e. the person's name) and the hostname of the PC where
    /// they run the app.
    /// </summary>
    public class ConnectionSettings
    {
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public string HostName { get; set; }
        public override string ToString()
        {
            return FirstName + " " + LastName + " (" + HostName + ")";
        }
    }
}
